home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / comm / bbs / Cit_Util_7H21.lha / Citadel_netstat.lha / netstat.doc < prev   
Text File  |  1997-07-27  |  6KB  |  134 lines

  1.  
  2.          Network Statistics
  3.  
  4. Introduction:
  5.  
  6.   I always wanted to know how much networking was being done by
  7.  my system.  I had Citadel collecting the information in various
  8.  forms and then decided to provide the information I needed and
  9.  a utility.  Another thing bit of information I needed was to find
  10.  out what kinds of data rates Citadel was generating.  Note, these
  11.  numbers are the true CPS.  If you are doing FAST TRANSFERS with
  12.  compression, the data rate is based on the data after compression.
  13.  You could have 2 MBs of message text compressed into 200K of data,
  14.  the 200K will show up in these statistics, not the 2 MBs.  Also, it
  15.  should be noted that if your modem and another modem have trouble
  16.  with the disconnect(sometimes you might get RE or RT while the other
  17.  modem has hung up, but your modem thinks it is just a transmission
  18.  error) that will extend your times and reduce your rates artificially.
  19.  
  20. General:
  21.  
  22.   Citadel uses the AUDITAREA to collect statistics and information.
  23.  This utility will read one of those data files(containing raw data)
  24.  and produce several reports(depends on the options).  Note:  If
  25.  you are not running Citadel with an AUDITAREA defined, you will not
  26.  get these statistics and will not be able to use this utility.
  27.  
  28.  
  29. Input:
  30.  
  31.   The file NETWORK_ISTAT.SYS from the Citadel Audit area and options
  32.  on the command line.
  33.  
  34. Options:
  35.  
  36.   -s  To provide a breakdown of the data on a system by system basis.
  37.       Default is to lump all systems into one total.
  38.  
  39.   -m  To provide a breakdown of the data by month.  Default is to lump
  40.       all months into one total.
  41.  
  42.  The filename and other options are command line arguments, order does
  43.  not matter.
  44.  
  45. Output:
  46.  
  47.   There are four possible reports produced by the various option choices:
  48.  
  49.  I. the first example is the default, no options specified:
  50.  
  51. FF4:342> netstat   test.sys
  52.    Citadel Networking Statistics Version 1.01
  53.    ----- Name -----      Session  Input   Output     Time          CPS
  54.                           count                    HH:MM:SS   Min  Avr  Max
  55.   *** All Systems ***      821  6530064  6207051   16:39:51     3  212  478
  56.  
  57.  II.  Just "-s" specified:
  58. FF4:342> netstat  -s test.sys
  59.    Citadel Networking Statistics Version 1.01
  60.    ----- Name -----      Session  Input   Output     Time          CPS
  61.                           count                    HH:MM:SS   Min  Avr  Max
  62.         Jersey Devil       294  1347448   984550    3:13:59     3  200  386
  63.            Mars Hill        35   405680   102692    0:40:35   142  208  261
  64.          Eagle Annex       207  2280277  2707555    7:21:27   139  188  221
  65.              Gateway       208  1867781  1317790    3:37:08    12  244  399
  66.   Patriot's Tapestry         9    52606   151609    0:30:07    58  113  144
  67.                 JACS        39   215038   207616    0:23:43   137  297  478
  68.            The Cabin        29   361234   735239    0:52:52   207  345  452
  69.                        -------  -------  -------   --------
  70.                            821  6530064  6207051   16:39:51        212
  71.  
  72.  III.  Both "-s" and "-m" specified:
  73.  
  74. FF4:342> netstat  -m -s test.sys
  75.    Citadel Networking Statistics Version 1.01
  76.    ----- Name -----      Session  Input   Output     Time          CPS
  77.                           count                    HH:MM:SS   Min  Avr  Max
  78.                   jan        5    36687    11617    0:03:20   130  241  319
  79.                   dec      289  1310761   972933    3:10:39     3  199  386
  80.                        -------  -------  -------   --------
  81.         Jersey Devil       294  1347448   984550    3:13:59     3  200  386
  82.  
  83.                   jan        1     7402     2147    0:00:57   167  167  167
  84.                   dec       34   398278   100545    0:39:38   142  209  261
  85.                        -------  -------  -------   --------
  86.            Mars Hill        35   405680   102692    0:40:35   142  208  261
  87.  
  88.                   jan        4    47440    21053    0:06:07   167  186  211
  89.                   dec      203  2232837  2686502    7:15:20   139  188  221
  90.                        -------  -------  -------   --------
  91.          Eagle Annex       207  2280277  2707555    7:21:27   139  188  221
  92.  
  93.                   jan        4    20610    23443    0:03:21   170  219  243
  94.                   dec      204  1847171  1294347    3:33:47    12  244  399
  95.                        -------  -------  -------   --------
  96.              Gateway       208  1867781  1317790    3:37:08    12  244  399
  97.  
  98.                   dec        9    52606   151609    0:30:07    58  113  144
  99.                        -------  -------  -------   --------
  100.   Patriot's Tapestry         9    52606   151609    0:30:07    58  113  144
  101.  
  102.                   jan        1     9232    10390    0:01:00   327  327  327
  103.                   dec       38   205806   197226    0:22:43   137  295  478
  104.                        -------  -------  -------   --------
  105.                 JACS        39   215038   207616    0:23:43   137  297  478
  106.  
  107.                   jan        1    10076    34852    0:02:19   323  323  323
  108.                   dec       28   351158   700387    0:50:33   207  346  452
  109.                        -------  -------  -------   --------
  110.            The Cabin        29   361234   735239    0:52:52   207  345  452
  111.  
  112.                        -------  -------  -------   --------
  113.                            821  6530064  6207051   16:39:51        212
  114.  
  115.   IV. Just "-m" specified:
  116.  
  117. FF4:342> netstat  -m  test.sys
  118.    Citadel Networking Statistics Version 1.01
  119.    ----- Name -----      Session  Input   Output     Time          CPS
  120.                           count                    HH:MM:SS   Min  Avr  Max
  121.                   jan       16   131447   103502    0:17:04   130  229  327
  122.                   dec      805  6398617  6103549   16:22:47     3  212  478
  123.                        -------  -------  -------   --------
  124.   *** All Systems ***      821  6530064  6207051   16:39:51     3  212  478
  125.  
  126.  
  127.  Change History
  128.  
  129.    1.00 - Initial release
  130.    1.01 - Fixed bug in totals for certain options.
  131.           Added Totals bar for -m option
  132.           added a newline to separate output by system
  133.           Made min, max, and session count monthly values.
  134.